package com.yugao.fintech.vctgone.admin.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户修改基本信息
 */
@Schema(name = "用户个人信息 DTO")
@Data
public class ProfileDTO {

    @Schema(description = "标识")
    private Long id;

    @Schema(description = "新密码，如果此字段不为空，oldPassword 字段也不允许为空")
    private String password;

    @Schema(description = "旧密码")
    private String oldPassword;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "手机")
    private String phone;
}
